package com.ccp.dev.workflow.model;

import com.ccp.dev.core.basic.model.BaseModel;

import java.util.List;

/**
 * 分管授权主表Model
 * @author zhanghuichao zhhchyouxiang@126.com
 * @date 2019/7/9 9:46
 */
public class BpmDefAuthorize extends BaseModel<BpmDefAuthorize> {

    /**
     * 主键
     */
    private String id;

    /**
     * 权限描述
     */
    private String authorizeDesc;

    /**
     * 授权人员列表
     */
    private List<BpmDefAuthorizeUser> authUser;

    /**
     * 授权流程列表
     */
    private List<BpmDefAuthorizeAct> authAct;

    /**
     * 授权类型集合
     */
    private List<BpmDefAuthorizeType> authType;

    /**
     * 授权类型字符串：start,management,task,instance
     */
    private String authorizeTypes;

    /**
     * 授权对象名称(仅用于存放授权对象的JSON数据)
     */
    private String ownerNameJson;

    /**
     * 授权流程名称(仅用于存放授权流程的JSON数据)
     */
    private String defNameJson;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAuthorizeDesc() {
        return authorizeDesc;
    }

    public void setAuthorizeDesc(String authorizeDesc) {
        this.authorizeDesc = authorizeDesc;
    }

    public List<BpmDefAuthorizeUser> getAuthUser() {
        return authUser;
    }

    public void setAuthUser(List<BpmDefAuthorizeUser> authUser) {
        this.authUser = authUser;
    }

    public List<BpmDefAuthorizeAct> getAuthAct() {
        return authAct;
    }

    public void setAuthAct(List<BpmDefAuthorizeAct> authAct) {
        this.authAct = authAct;
    }

    public List<BpmDefAuthorizeType> getAuthType() {
        return authType;
    }

    public void setAuthType(List<BpmDefAuthorizeType> authType) {
        this.authType = authType;
    }

    public String getAuthorizeTypes() {
        return authorizeTypes;
    }

    public void setAuthorizeTypes(String authorizeTypes) {
        this.authorizeTypes = authorizeTypes;
    }

    public String getOwnerNameJson() {
        return ownerNameJson;
    }

    public void setOwnerNameJson(String ownerNameJson) {
        this.ownerNameJson = ownerNameJson;
    }

    public String getDefNameJson() {
        return defNameJson;
    }

    public void setDefNameJson(String defNameJson) {
        this.defNameJson = defNameJson;
    }
}
